package cn.wolfcode.service;

import cn.wolfcode.domain.Department;
import cn.wolfcode.domain.Employee;
import cn.wolfcode.qo.PageResult;
import cn.wolfcode.query.EmployeeQueryObject;
import cn.wolfcode.query.QueryObject;

import java.util.List;

public interface IEmployeeService {

    void save(Employee employee);
    void delete(Long id);
    void update(Employee employee);
    Employee get(Long id);
    List<Employee> listAll();

    PageResult<Employee> query(EmployeeQueryObject qo);

}
